<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <link rel="stylesheet" href="../css/common.css">
  <title>拖动文件显示内容了</title>
  <style>
    body {
      display: flex;
      grid-gap: 0px 10px;
    }

    #drop {
      width: 250px;
      height: 250px;
      background-color: rgba(0, 0, 0, 0.08);
      cursor: -webkit-grab;
      display: flex;
      align-items: center;
      justify-content: center;
      /* cursor: -webkit-grabbing */
    }

    #drop::after {
      content: "将您的文件拖拽到此处";
      user-select: none;
      color: rgba(0, 0, 0, 0.7);
    }

    #read {
      flex: 1;
    }
  </style>
</head>

<body>
  <nav id="drop" title="拖拽文件到此处释放"></nav>
  <div id="read"></div>
</body>

</html>